#pragma once

#include "qbe/src/state/mode.hpp"
#include "qlib/all.h"

namespace qbe::slice {

enum struct State { None = 0, Wait, Cancel, Complete };

struct Models {
  State state = State::None;

  bool isXSlice = false;

  qlib::Vec2d pos;

  void reset() {
    state = State::None;
    pos = qlib::Vec2d(0, 0);
  }
};

}  // namespace qbe::slice